package org.linlinjava.litemall.admin.vo.shop;

import cn.hutool.crypto.digest.mac.MacEngine;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author wj
 * @date 2021/8/18 10:50
 */
public class SchemeAddVo {

    @NotBlank(message = "方案名称不能为空")
    private String schemeName;

    @NotNull(message = "分成设置不能为空")
    @DecimalMin(value = "0",message = "分成设置不能小于0")
    private Integer proportionalShare;


    private Integer dModeTypeId;


    private BigDecimal dMode;

    @NotNull(message = "自定义推广设置不能为空")
    private Integer custom;

    private Integer goodsType;

    @NotBlank(message = "商品不能为空")
    private String goodsId;

    private Integer storeType;

    @NotBlank(message = "门店不能为空")
    private String storeId;

    @NotNull(message = "店铺id不能为空")
    private Integer shopId;

    private Integer ausleseShow;

    private String ausleseBackgroundTitle;

    private String ausleseBackgroundContent;

    private String ausleseBackgroundImage;

    public Integer getAusleseShow() {
        return ausleseShow;
    }

    public void setAusleseShow(Integer ausleseShow) {
        this.ausleseShow = ausleseShow;
    }

    public String getAusleseBackgroundTitle() {
        return ausleseBackgroundTitle;
    }

    public void setAusleseBackgroundTitle(String ausleseBackgroundTitle) {
        this.ausleseBackgroundTitle = ausleseBackgroundTitle;
    }

    public String getAusleseBackgroundContent() {
        return ausleseBackgroundContent;
    }

    public void setAusleseBackgroundContent(String ausleseBackgroundContent) {
        this.ausleseBackgroundContent = ausleseBackgroundContent;
    }

    public String getAusleseBackgroundImage() {
        return ausleseBackgroundImage;
    }

    public void setAusleseBackgroundImage(String ausleseBackgroundImage) {
        this.ausleseBackgroundImage = ausleseBackgroundImage;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getSchemeName() {
        return schemeName;
    }

    public void setSchemeName(String schemeName) {
        this.schemeName = schemeName;
    }

    public Integer getProportionalShare() {
        return proportionalShare;
    }

    public void setProportionalShare(Integer proportionalShare) {
        this.proportionalShare = proportionalShare;
    }

    public Integer getdModeTypeId() {
        return dModeTypeId;
    }

    public void setdModeTypeId(Integer dModeTypeId) {
        this.dModeTypeId = dModeTypeId;
    }

    public BigDecimal getdMode() {
        return dMode;
    }

    public void setdMode(BigDecimal dMode) {
        this.dMode = dMode;
    }

    public Integer getCustom() {
        return custom;
    }

    public void setCustom(Integer custom) {
        this.custom = custom;
    }

    public Integer getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getStoreType() {
        return storeType;
    }

    public void setStoreType(Integer storeType) {
        this.storeType = storeType;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }
}
